package com.ys.entity.sys;

import javax.persistence.Table;


import java.util.Date;

import com.ys.entity.base.BaseEntity;

/**
*/
@Table(name="lili_admin.`sys_dict`", catalog="id")
public class SysDict extends BaseEntity<SysDict> {

	private Long id; // 主键ID
	private String dictKey; // 关键字，格式：table_name-col_name
	private String dictValue; // 值
	private String dictName; // 名称
	private Integer status; // 状态
	private Date createTime; // 
	private Date updateTime; // 

	public Long getId() {
		return id;
	}
	public SysDict setId(Long id) {
		this.id = id;
		return this;
	}
	public String getDictKey() {
		return dictKey;
	}
	public SysDict setDictKey(String dictKey) {
		this.dictKey = dictKey;
		return this;
	}
	public String getDictValue() {
		return dictValue;
	}
	public SysDict setDictValue(String dictValue) {
		this.dictValue = dictValue;
		return this;
	}
	public String getDictName() {
		return dictName;
	}
	public SysDict setDictName(String dictName) {
		this.dictName = dictName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public SysDict setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public SysDict setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public SysDict setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static SysDict sysDict(
		String dictKey,
		String dictValue,
		String dictName,
		Integer status
			) {
		SysDict entity = new SysDict();
		entity.setDictKey(dictKey);
		entity.setDictValue(dictValue);
		entity.setDictName(dictName);
		entity.setStatus(status);
		return entity;
	}
}